package com.etime.mapper;

import com.etime.pojo.Order;

import java.util.List;

public interface OrderMapper {
    List<Order> getAllOrder();

    List<Order> getOrderByName(String user_name);

    int addOrder(Order order);

    int updateStatus(Integer order_id);

    Order getOrderById(Integer order_id);

    List<Order> getOrderByUser(Integer user_id);
}
